package com.blank.dao;

import com.blank.pojo.bo.User;

import java.sql.SQLException;

/**
 * @author BLANK
 * @date 2020/11/12
 */
public interface CheckLoginDao {
    /**
     * 用户验证用户登录
     * @param username
     * @param password
     * @return
     *
     */
    User checkLogin(String username, String password) throws SQLException;
    User checkSameUser(String username) throws SQLException;
}
